import Home from '@/components/Home';

export default [
	{
		path: '/',
		redirect: '/home',
	},
	{
		path: '/home',
		component: Home
	},
	{
		path: '/project',
		component: ()=> import('@/components/Project'),
		children: [
			{
				path: 'forum',
				name: 'forum',
				component: ()=> import('@/components/project/Forum'),
			},
			{
				path: 'mall',
				name: 'mall',
				component: ()=> import('@/components/project/Mall'),
			},
			{
				path: 'personalHome',
				name: 'personalHome',
				component: ()=> import('@/components/project/PersonalHome'),
			},
		]
	},
	{
		path: '/resume',
		component: ()=> import('@/components/Resume')
	}
]